f911247b5e3ac01f0fc16003c95b32db45ff1dce,extensions/jcrinstall/src/main/java/org/apache/sling/jcr/jcrinstall/osgi/impl/BundleResourceProcessor.java,BundleResourceProcessor,installOrUpdate,#String#Map#InputStream#,64

Before Change


        // ensure the bundle id in the attributes, this may be overkill
        // in simple update situations, but is required for installations
        // and updates where there are no attributes yet
        attributes.put(KEY_BUNDLE_ID, new Long(b.getBundleId()));

        synchronized(refreshLock) {
            packageAdmin.resolveBundles(null);

After Change


        // ensure the bundle id in the attributes, this may be overkill
        // in simple update situations, but is required for installations
        // and updates where there are no attributes yet
        attributes.put(KEY_BUNDLE_ID, b.getBundleId());

        synchronized(pendingBundles) {
            pendingBundles.put(b.getBundleId(), b);